#include <stdlib.h>
#include <allegro.h>

int main(void)
{
    // Init allegro
    allegro_init();

    //init keyboard
    install_keyboard();

    //init video mode
    int ret = set_gfx_mode(GFX_AUTODETECT_WINDOWED,640,480,0,0);
    if(ret != 0){
        allegro_message(allegro_error);
        return 1;
    }

    // display screen res
    textprintf(screen, font, 0, 0,makecol(255,255,255), "%d,%d", SCREEN_W, SCREEN_H);

    while(!key[KEY_ESC]);

    // End program
    allegro_exit();
    return 0;
}
END_OF_MAIN()
